package cn.iocoder.yudao.framework.pay.core.client.impl.pax.model;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 预付单状态推送
 */
@Data
public class PaxNoticePrepayOrderStatusResponse {

    @NotEmpty(message = "prepayId cannot be empty")
    private String paxPrepayId;

    @NotEmpty(message = "merchantTradeNo cannot be empty")
    private String merchantTradeNo;

    @NotNull(message = "payChannel cannot be empty")
    private String payChannel;

    @NotEmpty(message = "orderAmount cannot be empty")
    private String orderAmount;

    @NotNull(message = "currency cannot be empty")
    private String currency;

    @NotNull(message = "orderExpireTime cannot be empty")
    private Long orderExpireTime;

    @NotNull(message = "orderStatus cannot be empty")
    private String orderStatus;

    @NotNull(message = "createTime cannot be empty")
    private Long orderCreateTime;

    /**
     * 支付成功时间
     */
    private Long paySuccessTime;

}
